Packetery\Module\Options\Provider A

Total Complexity 72
Dependencies 4
Dependents 19
Total lines 636
Lines of code 283
Logical lines of code 127
Comment lines 239
Methods 45
Properties 3

Methods 45

Method Rating Maintainability Complexity Lines of code
__construct()
S
58 4 17
getLabelFormats()
S
50 1 34
getCarrierLabelFormat()
S
64 3 10
getStatusSyncingPacketStatuses()
S
60 2 14
getEmailHook()
S
74 2 4
getValidAutoOrderStatusFromMapping()
S
69 2 7
isOrderStatusChangeAllowed()
S
68 2 7
isOrderStatusAutoChangeEnabled()
S
69 2 7
shouldWidgetOpenAutomatically()
S
69 2 7
getLabelMaxOffset()
S
69 2 7
getMaxStatusSyncingPackets()
S
68 2 7
isPacketAutoSubmissionEnabled()
S
68 2 7
getPacketAutoSubmissionMappedUniqueEvents()
S
67 2 8
isPacketCancellationForced()
S
69 2 7
arePricesTaxInclusive()
S
69 2 7
isFreeShippingShown()
S
69 2 7
getOptionsByName()
S
68 2 7
getMaxDaysOfPacketStatusSyncing()
S
68 2 7
getStatusSyncingOrderStatuses()
S
69 2 7
getDefaultWidth()
S
71 2 6
getDefaultLength()
S
71 2 6
getDefaultWeight()
S
71 2 6
getCheckoutWidgetButtonLocation()
S
69 2 7
getCodPaymentMethod()
S
69 2 7
getDefaultHeight()
S
71 2 6
getPacketaLabelFormats()
S
74 1 4
getAllOptions()
S
70 1 7
getAutoOrderStatus()
S
80 1 3
getAutoOrderStatusFromMapping()
S
79 1 3
has_any()
S
79 1 3
get()
S
79 1 3
get_api_key()
S
80 1 3
get_api_password()
S
80 1 3
get_sender()
S
80 1 3
get_allow_label_emailing()
S
80 1 3
get_carrier_label_format()
S
79 1 3
get_packeta_label_format()
S
79 1 3
getPacketAutoSubmissionEventForPaymentGateway()
S
78 1 3
getPacketAutoSubmissionPaymentMethodEventsMapping()
S
80 1 3
getPackagingWeight()
S
80 1 3
isDefaultWeightEnabled()
S
80 1 3
replaceShippingAddressWithPickupPointAddress()
S
80 1 3
getExistingStatusSyncingOrderStatuses()
S
72 1 5
isDefaultDimensionsEnabled()
S
80 1 3
sanitizePaymentGatewayId()
S
79 1 3